package legumes.client.services.callbacks;

import legumes.client.services.LegumesServicesHelper;
import legumes.client.services.util.rpc.SequencableRPCCall;

public class SetMessageStoreCallback extends SequencableRPCCall<Void> {

	private String message;

	public SetMessageStoreCallback(String message_) {
		message = message_;
	}

	@Override
	protected void doCall() {
		LegumesServicesHelper.LEGUMES_SERVICES.setMessageStore(message, this);
	}

	protected void setMessage(String message_) {
		message = message_;
	}

}